<template>
	<view class="releaseType-page">
		<view class="content">
			<view class="bot_view" @tap="gotoSwitch('/pages/addGoods/index')">
				<view style="background: #57DFAD;" class="bot_view_view">
					<image class="bot_view_view_img" src="/static/img/releaseType1.png" mode="widthFix"></image>
				</view>
				<text class="bot_view_text_2">赚钱</text>
			</view>
			<view class="bot_view" @tap="gotoSwitch('/pages/release/release')">
				<view style="background: #57DFAD;" class="bot_view_view">
					<image class="bot_view_view_img" src="/static/img/releaseType2.png" mode="widthFix"></image>
				</view>
				<text class="bot_view_text_2">发墙墙</text>
			</view>
			<view class="bot_view" @tap="gotoSwitch('/pages/releaseRequirements/index')">
				<view style="background: #57DFAD;" class="bot_view_view">
					<image class="bot_view_view_img" src="/static/img/releaseType3.png" mode="widthFix"></image>
				</view>
				<text class="bot_view_text_2">发需求(买方)</text>
			</view>
			<view></view>
			<view></view>
		</view>
	</view>
</template>

<script setup lang="ts">
	const gotoSwitch = (url:string) =>{
		uni.redirectTo({
			url: url
		})
	}
</script>

<style>
.releaseType-page{
	height: calc(100vh - 100rpx);
	background-color: #F5F6FA;
	display: flex;
	flex-direction: column-reverse;
}
.content{
	height: 246rpx;
	background-color: #ffffff;
	padding: 20rpx;
	border-radius: 32rpx 32rpx 0 0;
	display: flex;
	flex-direction: row;
}
.bot_view {
		flex:1;
		display: flex;
		flex-direction: column;
		align-items: center;
		position: relative;
		padding: 10rpx;

	}

	.bot_view_text_1 {
		width: 48rpx;
		height: 48rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 48rpx;
		background-color: #FF263F;
		position: absolute;
		right: 0rpx;
		top: 0rpx;

	}

	.bot_view_text_text {
		color: #fff;
		font-size: 20rpx;
	}


	.bot_view_view {
		width: 96rpx;
		height: 96rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 16rpx;
		border-radius: 32rpx;
		position: relative;
		z-index: 1;
	}

	.bot_view_view_img {
		width: 160rpx;
		height: 160rpx;
	}
</style>
